﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddJDMovie.aspx.vb" Inherits="JohnnyDepp.AddJDMovie" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">
                .filledRatingStar {background-image: url(Pictures/FilledStar.png); width:32px; height:32px;}
                .emptyRatingStar {background-image: url(Pictures/EmptyStar.png); width:32px; height:32px;}
                .savedRatingStar {background-image: url(Pictures/SavedStar.png); width:32px; height:32px;}
           </style>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <br />
    JD Movie Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_MovieName" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="tb_MovieName" Display="Dynamic" 
        ErrorMessage="Enter Movie Name"></asp:RequiredFieldValidator>
    <br />
    <br />Stars 
    <asp:Rating ID="Rating1" runat="server" Height="18px" 
                                CurrentRating="2" 
                                EmptyStarCssClass="emptyRatingStar" 
                                FilledStarCssClass="filledRatingStar" 
                                WaitingStarCssClass="savedRatingStar" 
                                StarCssClass="ratingStar"
                                Width="162px">
                </asp:Rating>
    <br />
    Director Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_DirectorName" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
        ControlToValidate="tb_DirectorName" Display="Dynamic" 
        ErrorMessage="Enter Director Name"></asp:RequiredFieldValidator>
    <br />
    <br />
    Description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_Description" runat="server"></asp:TextBox>
    <br />
    <br />Role of Jonny Depp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_RoleOfJD" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
        ControlToValidate="tb_RoleOfJD" Display="Dynamic" 
        ErrorMessage="Enter Role Played By JD"></asp:RequiredFieldValidator>
    <br />
    <br />
    JD Movie Category&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_MovieCategory" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
        ControlToValidate="tb_MovieCategory" Display="Dynamic" 
        ErrorMessage="Enter Movie Category"></asp:RequiredFieldValidator>
    <br />
    <br />
    JD Movie Business&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_BusinessDone" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
        ControlToValidate="tb_BusinessDone" Display="Dynamic" 
        ErrorMessage="Business Done By This Movie Worlwide" InitialValue="0"></asp:RequiredFieldValidator>
    <br />
    <br />
    Posters&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:FileUpload ID="JDF_Picture" runat="server" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
        ControlToValidate="JDF_Picture" Display="Dynamic" 
        ErrorMessage="Upload Poster For This Movie"></asp:RequiredFieldValidator>
    <br />
    <br />
    <br />
    <asp:Button ID="Btn_Submit" runat="server" Text="Add JD Details" />
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <br />
</asp:Content>
